const container = document.querySelector('.container')
const unsplashURL = 'https://source.unsplash.com/random/'
// https://source.unsplash.com/random/305x302
for(let i = 0; i < 15; i++){
    const img = document.createElement('img')
    img.src = `${unsplashURL}${getRandomSize()}`
    container.appendChild(img)
}
function getRandomSize(){
    return `${Math.floor(Math.random() * 10) + 300}x${Math.floor(Math.random() * 10) + 300}`
}